@fontColor: #e4e8ea;

.sidebar-container {
  width: 235px;
  height: 100%;
  min-height: 500px;
  background-color: #f6f7f8;
  border-right: 1px solid @fontColor;
  box-shadow: 0 0 4px 0 rgba(54, 71, 134, 0.1);
  overflow-y: scroll;
  font-size: 12px;

  .suanfa-name {
    padding-left: 6px;
  }
  .ant-collapse-header {
    background-color: #f6f7f8;
  }

  .ant-collapse-content-box {
    padding: 6px !important;
    display: flex;
    flex-wrap: wrap;
    background-color: #f6f7f8;
  }

  .ant-collapse-item {
    border-bottom: none;
  }

  .custom-svg {
    width: 36px;
    height: 46px;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: move;
    left: 2px;
    top: 2px;
  }
}

.custom-sidebar-node {
  overflow: hidden;
  width: 64px;
  height: 55px;
  padding: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: move;
  box-sizing: border-box;
  font-size: 12px;
  text-align: center;
  // float:left
  margin: 2px;
  cursor: move;
  text-decoration: none;

  .tooltip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  &:hover {
    background-color: #fbfbfb;
    border: 1px solid #dee0ea;
    border-radius: 2px;
  }

  &:focus {
    text-decoration: none;
  }

  &.suanfa-node {
    width: 180px;
    height: 24px;
    flex-direction: row;
    justify-content: start;
    padding: 0 6px;
  }

  .sidebar-node-image {
    width: 31px;
    height: 31px;
  }

  .sidebar-node-label {
    padding-top: 6px;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 12px;
    line-height: 12px;
    box-sizing: content-box;
    white-space: nowrap;
    width: 63px;
  }

  .svg-node {
    width: 36px;
    height: 36px;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: move;

    .text-node {
      display: inline-block;
      font-size: 12px;
      font-family: Helvetica;
      color: #666;
      line-height: 1.2;
      vertical-align: top;
      width: 24px;
      white-space: normal;
      overflow-wrap: normal;
      text-align: center;
    }
  }
}
